package net.lshimokawa.pap6;

public class Calculadora {

    public final int sumar(int a, int b) {
        return a + b;
    }

    public final int restar(int a, int b) {
        return a - b;
    }

    public final int multiplicar(int a, int b) {
        return a * b;
    }

    public final int dividir(int a, int b) {
        if (b == 0) { 
            return -1;
        } else {
            return a / b;
        }
    }
}
